﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace PreDesignCard
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnNewWindow_Click(object sender, EventArgs e)
        {
            string url = "Popup.aspx?txtName=" + txtLastName.Text.Trim() + "&txtFirstName=" + txtFirstName.Text.Trim() + "&txtGCNumber=" + txtGCNumber.Text.Trim() + "&txtGCV=" + txtGCV.Text.Trim() + "&txtStore=" + txtStore.Text.Trim();
            string s = "window.open('" + url + "', 'popup_window', 'width=1024,height=700,left=100,top=100,resizable=no');";
            ClientScript.RegisterStartupScript(this.GetType(), "script", s, true);
        }
    }
}